package com.zoo.diannaopeijian.service;

import com.zoo.diannaopeijian.domain.Staff;

import java.util.List;

/**
 * Created by zx583 on 2018-01-08.
 */
public interface StaffService {
    List<Staff> getStaff(Staff staff);

    List<Staff> getStaffWithPage(Integer page, Integer rows, Staff staff);

    List<Staff> getFuzzyStaff(Staff staff);

    List<Staff> getFuzzyStaffWithPage(Integer page, Integer rows, Staff staff);

    boolean addStaff(Staff staff);

    boolean deleteStaff(Integer staffid);

    boolean updateStaff(Staff staff);

    String getStaffSalt(Integer staffid);
}
